Piwik\Plugin\Manager D

Total Complexity 261
Dependencies 29
Dependents 186
Total lines 1,444
Lines of code 876
Logical lines of code 542
Comment lines 399
Methods 94
Properties 10

Methods 94

Method Rating Maintainability Complexity Lines of code
reloadActivatedPlugin()
B
40 19 53
initPluginDirectories()
A
46 13 35
executePluginUninstall()
A
50 9 31
isTrackerPlugin()
A
50 9 31
loadTrackerPlugins()
S
51 6 28
loadAllPluginsAndGetTheirInfo()
S
50 5 27
makePluginClass()
S
54 5 21
getPluginDirectory()
S
55 5 19
getMissingPlugins()
S
63 6 10
readPluginsDirectory()
S
58 5 15
getThemeEnabled()
S
61 5 13
getPluginRealPath()
S
61 5 12
activatePlugin()
S
53 4 23
doesAnotherPluginDefineSameColumnWithDbEntry()
S
63 5 10
getVersion()
S
59 4 14
isPluginThirdPartyAndBogus()
S
62 4 13
registerPluginDirAutoload()
S
60 4 13
uninstallPlugin()
S
54 3 21
installPluginIfNecessary()
S
56 3 18
getNumberOfActivatedPluginsExcludingAlwaysActivated()
S
64 4 10
getTheme()
S
64 4 9
deactivateThemeIfTheme()
S
64 4 10
getPluginUmdsToLoadOnDemand()
S
65 4 9
getPluginsLoadedAndActivated()
S
61 3 13
getRelativePluginDirectory()
S
59 3 13
unloadPlugin()
S
62 3 12
findComponents()
S
63 3 11
findMultipleComponents()
S
63 3 11
getAlternativeWebRootDirectories()
S
62 3 11
reloadActivatedPlugins()
S
66 3 9
isPluginInstalled()
S
67 3 8
savePluginTime()
S
64 3 10
getIncompatiblePlugins()
S
65 3 10
hasPremiumFeatures()
S
68 3 8
getIgnoredBogusPlugins()
S
66 3 9
isPluginBundledWithCore()
S
77 3 3
getLoadedPlugin()
S
69 3 6
makeSureOnlyActivatedPluginsAreLoaded()
S
68 3 7
executePluginDeactivate()
S
67 3 8
isPluginActivated()
S
77 3 3
deactivatePlugin()
S
62 2 12
uninstallDimension()
S
70 2 6
executePluginInstall()
S
68 2 7
isPluginEnabledByDefault()
S
69 2 7
unloadPlugins()
S
69 2 7
makePluginsToLoad()
S
66 2 9
unloadPluginFromMemory()
S
68 2 7
getClassNamePlugin()
S
69 2 7
loadPluginTranslations()
S
70 2 6
loadPlugin()
S
67 2 8
removePluginFromPluginsConfig()
S
67 2 8
pluginStructureLooksValid()
S
74 2 4
removePluginFromPluginsInstalledConfig()
S
66 2 8
postLoadPlugins()
S
71 2 6
getPluginsDirectories()
S
63 2 10
loadActivatedPlugins()
S
64 2 10
checkIsPluginActivated()
S
74 2 5
deletePluginFromFilesystem()
S
69 2 6
isPluginOfficialAndNotBundledWithCore()
S
66 2 8
installLoadedPlugins()
S
70 2 6
isPluginInFilesystem()
S
71 2 5
isPluginAlwaysActivated()
S
79 1 3
doesPluginRequireInternetConnection()
S
76 1 4
removePluginFromConfig()
S
77 1 4
isPluginUninstallable()
S
80 1 3
updatePluginsInstalledConfig()
S
73 1 5
clearPluginsInstalledConfig()
S
78 1 4
isPluginBogus()
S
67 1 9
removeInstalledVersionFromOptionTable()
S
76 1 4
updatePluginsConfig()
S
71 1 6
getPluginsFromGlobalIniConfigFile()
S
81 1 3
getTrackerPluginsNotToLoad()
S
82 1 3
setTrackerPluginsNotToLoad()
S
81 1 3
loadCorePluginsDuringTracker()
S
73 1 5
isPluginLoaded()
S
79 1 3
getActivatedPluginsFromConfig()
S
76 1 4
getWebRootDirectoriesForCustomPluginDirs()
S
79 1 3
doNotLoadAlwaysActivatedPlugins()
S
81 1 3
getLoadedPlugins()
S
82 1 3
getLicenseCache()
S
80 1 3
getLoadedPluginsName()
S
80 1 3
getAllPluginsNames()
S
69 1 6
__construct()
S
81 1 3
isValidPluginName()
S
79 1 3
doNotLoadPlugins()
S
81 1 3
getActivatedPlugins()
S
82 1 3
resetTransientCache()
S
81 1 3
loadPlugins()
S
74 1 5
isManifestFileFound()
S
77 1 3
addLoadedPlugin()
S
76 1 4
getInstalledPluginsName()
S
76 1 4
clearCache()
S
77 1 4
getPluginsDirectory()
S
72 1 5
getInstance()
S
80 1 3